#!/usr/bin/python

import sys, os, random, time
import struct
import serial
import time
from datetime import datetime

fout=open('t.txt', 'w')

for i in range (100):
    dt = datetime.now()
    fout.write("\tPython time= ")
    print dt.microsecond * 1000
    fout.write(str(dt.microsecond * 1000))

fout.close()
